package service;

import common.ServerResponse;

public interface IProductService {
	
	public ServerResponse list(String pageSize,String pageNum);
	public ServerResponse search(String product_id,String product_name,String pageNum,String pageSize);
	public ServerResponse upload();
	
	public ServerResponse detail(String product_id);

	public ServerResponse set_sale_status(String product_id, String status);

	public ServerResponse save(String id, String category_id, String name, String subtitle, String main_image, String subImages,
			String detail, String price, String stock, String status);
	
	//富文本图片上传
	public ServerResponse Richtext_img_upload(String product_id,String detail); 
	
	//产品搜索以及动态list
	public ServerResponse F_list(String category,String keyword,String pageNum,String pageSize,String order_by);
	
	//产品detail
	public ServerResponse F_detail(String product_id);
	
	//查询所有
	public ServerResponse all();
	

}
